fix(relay): remove media bearer-token auth (#1444)

Signed-off-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
Co-authored-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
This commit is contained in:
Tyler
2026-07-01 19:25:24 -04:00
committed by GitHub
parent 15ad7ae87e
commit 0701f47f4a
4 changed files with 12 additions and 131 deletions

View File

@@ -160,7 +160,6 @@ void main() {
final nsec = keychain.nsec;
final uploadService = MediaUploadService(
baseUrl: 'https://relay.example',
apiToken: null,
nsec: nsec,
httpClient: http_testing.MockClient((request) async {
return http.Response(
@@ -226,7 +225,6 @@ void main() {
final nsec = keychain.nsec;
final uploadService = MediaUploadService(
baseUrl: 'https://relay.example',
apiToken: null,
nsec: nsec,
httpClient: http_testing.MockClient((request) async {
return http.Response(
@@ -294,7 +292,6 @@ void main() {
final nsec = keychain.nsec;
final uploadService = MediaUploadService(
baseUrl: 'https://relay.example',
apiToken: null,
nsec: nsec,
httpClient: http_testing.MockClient((request) async {
return http.Response('bad upload', 401);
@@ -329,7 +326,6 @@ void main() {
final nsec = keychain.nsec;
final uploadService = MediaUploadService(
baseUrl: 'https://relay.example',
apiToken: null,
nsec: nsec,
pickGalleryVideo: () async => null,
pickGalleryImage: () async =>
@@ -366,7 +362,6 @@ void main() {
final nsec = keychain.nsec;
final uploadService = MediaUploadService(
baseUrl: 'https://relay.example',
apiToken: null,
nsec: nsec,
pickGalleryVideo: () async => null,
pickGalleryImage: () async =>
@@ -422,7 +417,6 @@ void main() {
try {
final uploadService = MediaUploadService(
baseUrl: 'https://relay.example',
apiToken: null,
nsec: nsec,
httpClient: http_testing.MockClient((request) async {
return http.Response(