Skip to content

Commit

Permalink
Fix NWC
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o committed Jan 24, 2025
1 parent 1668598 commit f382f7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/nwc/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NDKNwc } from "@nostr-dev-kit/ndk";
import NDKNwc from "@nostr-dev-kit/ndk";
import { NDKNwcResponse } from "@nostr-dev-kit/ndk";

class Nwc {
Expand All @@ -11,6 +11,7 @@ class Nwc {
// Assuming `nwc` is a method from `NDKNwc`, ensure this method exists
const response = await this.getNwc(nwc);
console.log("NWC response:", response);
// Handle the response as needed
return response;
} catch (error) {
console.error("Error fetching NWC data:", error);
Expand Down

0 comments on commit f382f7e

Please sign in to comment.