Skip to content

Commit 4f20150

Browse files
committed
String to ASCIIString
1 parent afaecb8 commit 4f20150

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/utils.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ default_endpoints = {
55
"api" => "https://api.plot.ly/v2"}
66

77
type PlotlyCredentials
8-
username::AbstractString
9-
api_key::AbstractString
8+
username::ASCIIString
9+
api_key::ASCIIString
1010
end
1111

1212
type PlotlyConfig
13-
plotly_domain::AbstractString
14-
plotly_api_domain::AbstractString
13+
plotly_domain::ASCIIString
14+
plotly_api_domain::ASCIIString
1515
end
1616

17-
function signin(username::AbstractString, api_key::AbstractString, endpoints=None)
17+
function signin(username::ASCIIString, api_key::ASCIIString, endpoints=None)
1818
# Define session credentials/endpoint configuration, where endpoint is a Dict
1919

2020
global plotlycredentials = PlotlyCredentials(username, api_key)

0 commit comments

Comments
 (0)