mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-20 20:56:27 +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"])
|
|
}
|
|
}
|