Conformed the Review model and the EndpointError error in the Feed library to the Equatable protocol.

This commit is contained in:
Javier Cicchelli 2024-03-17 22:29:33 +01:00
parent 00b092f2b1
commit 0e84dcde30
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
// Copyright © 2024 Röck+Cöde VoF. All rights reserved.
//
public enum EndpointError: Error {
public enum EndpointError: Error, Equatable {
case inputParametersEmpty
case requestFailed(statusCode: Int)
case responseNotFound

View File

@ -8,7 +8,7 @@
import Foundation
public struct Review {
public struct Review: Equatable {
// MARK: Constants
public let author: String