mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-23 00:30:59 +00:00
11 lines
261 B
Swift
11 lines
261 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
import MastodonAPI
|
|
import Stubbing
|
|
|
|
extension StringsEndpoint: Stubbing {
|
|
public func data(url: URL) -> Data? {
|
|
try? JSONSerialization.data(withJSONObject: ["ok.lol"])
|
|
}
|
|
}
|