fix: use kind 27235 in place of kind 1 #80
@ -53,7 +53,7 @@ export class AuthController {
|
|||||||
const { hostname } = window.location
|
const { hostname } = window.location
|
||||||
|
|
||||||
const authEvent: EventTemplate = {
|
const authEvent: EventTemplate = {
|
||||||
kind: 1,
|
kind: 27235,
|
||||||
tags: [],
|
tags: [],
|
||||||
content: `${hostname}-${timestamp}`,
|
content: `${hostname}-${timestamp}`,
|
||||||
created_at: timestamp
|
created_at: timestamp
|
||||||
|
@ -189,7 +189,7 @@ export const signEventForMetaFile = async (
|
|||||||
) => {
|
) => {
|
||||||
// Construct the event metadata for the meta file
|
// Construct the event metadata for the meta file
|
||||||
const event: EventTemplate = {
|
const event: EventTemplate = {
|
||||||
kind: 1, // Event type for meta file
|
kind: 27235, // Event type for meta file
|
||||||
content: content, // content for event
|
content: content, // content for event
|
||||||
created_at: Math.floor(Date.now() / 1000), // Current timestamp
|
created_at: Math.floor(Date.now() / 1000), // Current timestamp
|
||||||
tags: []
|
tags: []
|
||||||
|
Loading…
Reference in New Issue
Block a user