Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NV-GO-1] API 馃殌: Validate MX Record Setup for Inbound Parse Functionality #29

Conversation

NonsoAmadi10
Copy link
Contributor

@NonsoAmadi10 NonsoAmadi10 commented Sep 9, 2023

What does this PR do?

How should this be tested manually?

  • Run the following:
package main

import (
	"context"
	"fmt"
	novu "github.com/novuhq/go-novu/lib"
	"log"
)

func main() {
	apiKey := "<REPLACE_WITH_YOUR_API_KEY>"
        ctx := context.Background()
        
        novuClient := novu.NewAPIClient(apiKey, &novu.Config{})
        resp, err := novuClient.InboundParserApiGet(ctx)
        if err != nil {
		log.Fatal("novu error", err.Error())
		return
	}

	fmt.Println(resp.Data.MxRecordConfigured)
	
	}

Any Background Context?

  • N/A

@NonsoAmadi10 NonsoAmadi10 force-pushed the ft-inbound-parser-mx-record-validation branch from 6676949 to a86085a Compare September 9, 2023 17:35
@NonsoAmadi10
Copy link
Contributor Author

@unicodeveloper @prajjwaldimri I have made changes to the application and even fix the test issue. I look forward to your feedback again

@unicodeveloper unicodeveloper merged commit cdb0872 into novuhq:master Oct 3, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NV-GO-1] API 馃殌: Validate MX Record Setup for Inbound Parse Functionality
2 participants